package com.ruoyi.customerService.service.impl;

import com.github.pagehelper.PageHelper;
import com.ruoyi.customerService.domain.CsCustomerComplaintSheetBill;
import com.ruoyi.customerService.domain.vo.CsCustomerComplaintSheetBillVo;
import com.ruoyi.customerService.mapper.CsCustomerComplaintSheetBillMapper;
import com.ruoyi.customerService.service.CsCustomerComplaintSheetBillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CsCustomerComplaintSheetBillServiceImpl implements CsCustomerComplaintSheetBillService {
    @Autowired
    private CsCustomerComplaintSheetBillMapper csCustomerComplaintSheetBillMapper;
    @Override
    public List<CsCustomerComplaintSheetBill> collect(CsCustomerComplaintSheetBillVo vo) {
        PageHelper.startPage(vo.getPageDate());
        return csCustomerComplaintSheetBillMapper.collect(vo);
    }
}
